/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package web.Dao;

import web.enity.UserInfo;

/**
 *
 * @author 10592
 */
public interface UserDAO {
    /**
     * 注册
     * @param user
     * @return 
     */
    int resiger(UserInfo user);
    /**
     * 登录
     * @param uname用户名
     * @param upwd用户密码
     * @return 
     */
    UserInfo login(String uname,String upwd);
    /**
     * 查询用户是否存在
     * @param userName
     * @return 
     */
    boolean quary(String userName);
}
